package com.tchy.cloud.entity;

import javax.persistence.*;
import java.util.Date;

import static javax.persistence.GenerationType.IDENTITY;

/**
 * Created by xiaoji on 2017/2/20.
 */
@Entity
@Table(name = "a_gather_wh", schema = "", catalog = "")
public class AGatherWhEntity {
    private Long articleId;
    private String ruleName;
    private String content;
    private String intro;
    private Long consumerId;
    private String title;
    private String consumerName;
    private Integer articleType;
    private Integer source;
    private String sourceAvatar;
    private String sourceUrl;
    private Date writeTime;
    private int format;
    private String articleThumb;
    private String articleImg;
    private String originalImg;
    private String pic1;
    private String pic2;
    private String pic3;
    private String keyword;
    private String auditor;
    private Integer auditStatus;
    private String remark;
    private String factorArea;
    private String factorAge;
    private String factorSex;
    private String factorIncome;
    private String factorColumn;
    private String factorSystem;
    private String factorDevice;
    private Date createTime;

    @Id
    @GeneratedValue(strategy = IDENTITY)
    @Column(name = "article_id")
    public Long getArticleId() {
        return articleId;
    }

    public void setArticleId(Long articleId) {
        this.articleId = articleId;
    }

    @Basic
    @Column(name = "rule_name")
    public String getRuleName() {
        return ruleName;
    }

    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }

    @Basic
    @Column(name = "content")
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Basic
    @Column(name = "intro")
    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    @Basic
    @Column(name = "consumer_id")
    public Long getConsumerId() {
        return consumerId;
    }

    public void setConsumerId(Long consumerId) {
        this.consumerId = consumerId;
    }

    @Basic
    @Column(name = "title")
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Basic
    @Column(name = "consumer_name")
    public String getConsumerName() {
        return consumerName;
    }

    public void setConsumerName(String consumerName) {
        this.consumerName = consumerName;
    }

    @Basic
    @Column(name = "article_type")
    public Integer getArticleType() {
        return articleType;
    }

    public void setArticleType(Integer articleType) {
        this.articleType = articleType;
    }

    @Basic
    @Column(name = "source")
    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    @Basic
    @Column(name = "source_avatar")
    public String getSourceAvatar() {
        return sourceAvatar;
    }

    public void setSourceAvatar(String sourceAvatar) {
        this.sourceAvatar = sourceAvatar;
    }

    @Basic
    @Column(name = "source_url")
    public String getSourceUrl() {
        return sourceUrl;
    }

    public void setSourceUrl(String sourceUrl) {
        this.sourceUrl = sourceUrl;
    }

    @Basic
    @Column(name = "write_time")
    public Date getWriteTime() {
        return writeTime;
    }

    public void setWriteTime(Date writeTime) {
        this.writeTime = writeTime;
    }

    @Basic
    @Column(name = "format")
    public int getFormat() {
        return format;
    }

    public void setFormat(int format) {
        this.format = format;
    }

    @Basic
    @Column(name = "article_thumb")
    public String getArticleThumb() {
        return articleThumb;
    }

    public void setArticleThumb(String articleThumb) {
        this.articleThumb = articleThumb;
    }

    @Basic
    @Column(name = "article_img")
    public String getArticleImg() {
        return articleImg;
    }

    public void setArticleImg(String articleImg) {
        this.articleImg = articleImg;
    }

    @Basic
    @Column(name = "original_img")
    public String getOriginalImg() {
        return originalImg;
    }

    public void setOriginalImg(String originalImg) {
        this.originalImg = originalImg;
    }

    @Basic
    @Column(name = "pic1")
    public String getPic1() {
        return pic1;
    }

    public void setPic1(String pic1) {
        this.pic1 = pic1;
    }

    @Basic
    @Column(name = "pic2")
    public String getPic2() {
        return pic2;
    }

    public void setPic2(String pic2) {
        this.pic2 = pic2;
    }

    @Basic
    @Column(name = "pic3")
    public String getPic3() {
        return pic3;
    }

    public void setPic3(String pic3) {
        this.pic3 = pic3;
    }

    @Basic
    @Column(name = "keyword")
    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    @Basic
    @Column(name = "auditor")
    public String getAuditor() {
        return auditor;
    }

    public void setAuditor(String auditor) {
        this.auditor = auditor;
    }

    @Basic
    @Column(name = "audit_status")
    public Integer getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Integer auditStatus) {
        this.auditStatus = auditStatus;
    }

    @Basic
    @Column(name = "remark")
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Basic
    @Column(name = "factor_area")
    public String getFactorArea() {
        return factorArea;
    }

    public void setFactorArea(String factorArea) {
        this.factorArea = factorArea;
    }

    @Basic
    @Column(name = "factor_age")
    public String getFactorAge() {
        return factorAge;
    }

    public void setFactorAge(String factorAge) {
        this.factorAge = factorAge;
    }

    @Basic
    @Column(name = "factor_sex")
    public String getFactorSex() {
        return factorSex;
    }

    public void setFactorSex(String factorSex) {
        this.factorSex = factorSex;
    }

    @Basic
    @Column(name = "factor_income")
    public String getFactorIncome() {
        return factorIncome;
    }

    public void setFactorIncome(String factorIncome) {
        this.factorIncome = factorIncome;
    }

    @Basic
    @Column(name = "factor_column")
    public String getFactorColumn() {
        return factorColumn;
    }

    public void setFactorColumn(String factorColumn) {
        this.factorColumn = factorColumn;
    }

    @Basic
    @Column(name = "factor_system")
    public String getFactorSystem() {
        return factorSystem;
    }

    public void setFactorSystem(String factorSystem) {
        this.factorSystem = factorSystem;
    }

    @Basic
    @Column(name = "factor_device")
    public String getFactorDevice() {
        return factorDevice;
    }

    public void setFactorDevice(String factorDevice) {
        this.factorDevice = factorDevice;
    }

    @Basic
    @Column(name = "create_time")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}
